input[type="checkbox"]:checked + label { color:green; } /* input:checked + label { color:green; } /* short version */